package com.ruoyi.ruoyixingyue.modules.api.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 卢壮志
 * @Date 2024/3/1
 * @Time: 17:43
 */
@Data
@ApiModel("根据id获取章节信息")
public class CatalogueDetailPo {

    @ApiModelProperty("章节名称")
    private String name;

    @ApiModelProperty("课程名称")
    private Long courseId;

    @ApiModelProperty("目录名称")
    private Integer type;

    @ApiModelProperty("所属章节")
    private Long pid;

    @ApiModelProperty(value = "章节排序")
    private Integer index;

    @ApiModelProperty("视频封面")
    private String coverUrl;

    @ApiModelProperty("media Id")
    private String mediaUrl;
}
